package com.chinacoal.microservice.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.chinacoal.microservice.pojo.CcmsSmartleasingIndicator;

/**
 * 考核模块-指标管理mapper类
 * @author wiilead
 *
 */
public interface CcmsSmartleasingIndicatorMapper extends BaseMapper<CcmsSmartleasingIndicator>{
	/**
	 * 查询指标列表
	 * @param toPage
	 * @param parentId
	 * @return
	 */
	List<CcmsSmartleasingIndicator> selectIndicatorList();
	
	/**
	 * 修改指标
	 * @param indicator
	 */
	void updateByIndicatorId(CcmsSmartleasingIndicator indicator);
	
	/**
	 * 删除指标
	 * @param indicatorId
	 */
	void deleteIndicator(@Param("indicatorId") String indicatorId);
}
